package cn.agiledata.bank.transaction.form;

import java.util.Date;

import cn.agiledata.bank.hibernateBean.ActionType;
import cn.agiledata.bank.hibernateBean.SubAccount;

import com.vnv.infrastructure.action.IPBPagingForm;

/**
 * @author jessik
 * 
 */
public class EsPrePayTransForm extends IPBPagingForm {
    private Long id;

    private boolean batchType;

    private String batchNo;

    private String transId;

    private ActionType actionType;

    private SubAccount credit;

    private SubAccount debit;

    private Double amount;

    private String currency;

    private Double exchangeRate;

    private String tradeType;

    private String transStatus;

    private Date beginDate;

    private Date endDate;

    private Long creditfeeRatio = new Long(-1);

    private Long debitfeeRatio = new Long(-1);

    private Long bankSeq;

    private Double debitFee = new Double(0);

    private Double creditFee = new Double(0);

    private String accountBankSeq;

    private String cardNo = "";

    private String bankName;

    private Long provSeq;

    private Long citySeq;

    private Long bankProvSeq;

    private Long bankCitySeq;

    private String personName;

    private String personMail;

    private String personPhone;

    private String personMobile;

    private String verifyCode;

    private String operSource;

    private String createUser;

    private Date createTime;

    private String updateUser;

    private Date updateTime;
    
    private String commodityInfo;
    
    private String purpose;

    private String remark;

    private Long version;

    private String errorMsg;

    private String creditId;

    private String debitId;

    private String creditMsg;

    private String attitude;

    private String strBeginDate;

    private String strEndDate;

    private String amountMin;

    private String amountMax;

    private String startPage;

    private String subAccountID;

    private String actionTypeID;
    
    private String beginCount;
    private String endCount;

    public boolean isBatchType() {
        return this.batchType;
    }

    public void setBatchType(boolean batchType) {
        this.batchType = batchType;
    }

    public String getBatchNo() {
        return this.batchNo;
    }

    public void setBatchNo(String batchNo) {
        this.batchNo = batchNo;
    }

    public String getCreditId() {
        return creditId;
    }

    public void setCreditId(String creditId) {
        this.creditId = creditId;
    }

    public String getCreditMsg() {
        return creditMsg;
    }

    public void setCreditMsg(String creditMsg) {
        this.creditMsg = creditMsg;
    }

    public Long getBankCitySeq() {
        return bankCitySeq;
    }

    public void setBankCitySeq(Long bankCitySeq) {
        this.bankCitySeq = bankCitySeq;
    }

    public Long getBankProvSeq() {
        return bankProvSeq;
    }

    public void setBankProvSeq(Long bankProvSeq) {
        this.bankProvSeq = bankProvSeq;
    }

    public Long getCitySeq() {
        return citySeq;
    }

    public void setCitySeq(Long citySeq) {
        this.citySeq = citySeq;
    }

    public Long getProvSeq() {
        return provSeq;
    }

    public void setProvSeq(Long provSeq) {
        this.provSeq = provSeq;
    }

    public String getErrorMsg() {
        return errorMsg;
    }

    public void setErrorMsg(String errorMsg) {
        this.errorMsg = errorMsg;
    }

    public String getAccountBankSeq() {
        return accountBankSeq;
    }

    public void setAccountBankSeq(String accountBankSeq) {
        this.accountBankSeq = accountBankSeq;
    }

    public ActionType getActionType() {
        return actionType;
    }

    public void setActionType(ActionType actionType) {
        this.actionType = actionType;
    }

    public Double getAmount() {
        return amount;
    }

    public void setAmount(Double amount) {
        this.amount = amount;
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public Long getBankSeq() {
        return bankSeq;
    }

    public void setBankSeq(Long bankSeq) {
        this.bankSeq = bankSeq;
    }

    public Date getBeginDate() {
        return beginDate;
    }

    public void setBeginDate(Date beginDate) {
        this.beginDate = beginDate;
    }

    public String getCardNo() {
        return cardNo;
    }

    public void setCardNo(String cardNo) {
        this.cardNo = cardNo;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public SubAccount getCredit() {
        return credit;
    }

    public void setCredit(SubAccount credit) {
        this.credit = credit;
    }

    public Double getCreditFee() {
        return creditFee;
    }

    public void setCreditFee(Double creditFee) {
        this.creditFee = creditFee;
    }

    public Long getCreditfeeRatio() {
        return creditfeeRatio;
    }

    public void setCreditfeeRatio(Long creditfeeRatio) {
        this.creditfeeRatio = creditfeeRatio;
    }

    public String getCurrency() {
        return currency;
    }

    public void setCurrency(String currency) {
        this.currency = currency;
    }

    public SubAccount getDebit() {
        return debit;
    }

    public void setDebit(SubAccount debit) {
        this.debit = debit;
    }

    public String getDebitId() {
        return debitId;
    }

    public void setDebitId(String debitId) {
        this.debitId = debitId;
    }

    public Double getDebitFee() {
        return debitFee;
    }

    public void setDebitFee(Double debitFee) {
        this.debitFee = debitFee;
    }

    public Long getDebitfeeRatio() {
        return debitfeeRatio;
    }

    public void setDebitfeeRatio(Long debitfeeRatio) {
        this.debitfeeRatio = debitfeeRatio;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public Double getExchangeRate() {
        return exchangeRate;
    }

    public void setExchangeRate(Double exchangeRate) {
        this.exchangeRate = exchangeRate;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getOperSource() {
        return operSource;
    }

    public void setOperSource(String operSource) {
        this.operSource = operSource;
    }

    public String getPersonMail() {
        return personMail;
    }

    public void setPersonMail(String personMail) {
        this.personMail = personMail;
    }

    public String getPersonMobile() {
        return personMobile;
    }

    public void setPersonMobile(String personMobile) {
        this.personMobile = personMobile;
    }

    public String getPersonName() {
        return personName;
    }

    public void setPersonName(String personName) {
        this.personName = personName;
    }

    public String getPersonPhone() {
        return personPhone;
    }

    public void setPersonPhone(String personPhone) {
        this.personPhone = personPhone;
    }
    
    public String getCommodityInfo() {
		return commodityInfo;
	}

	public void setCommodityInfo(String commodityInfo) {
		this.commodityInfo = commodityInfo;
	}

	public String getPurpose() {
		return purpose;
	}

	public void setPurpose(String purpose) {
		this.purpose = purpose;
	}

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getTradeType() {
        return tradeType;
    }

    public void setTradeType(String tradeType) {
        this.tradeType = tradeType;
    }

    public String getTransId() {
        return transId;
    }

    public void setTransId(String transId) {
        this.transId = transId;
    }

    public String getTransStatus() {
        return transStatus;
    }

    public void setTransStatus(String transStatus) {
        this.transStatus = transStatus;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public String getVerifyCode() {
        return verifyCode;
    }

    public void setVerifyCode(String verifyCode) {
        this.verifyCode = verifyCode;
    }

    public Long getVersion() {
        return version;
    }

    public void setVersion(Long version) {
        this.version = version;
    }

    public String getAttitude() {
        return attitude;
    }

    public void setAttitude(String attitude) {
        this.attitude = attitude;
    }

    public String getStrBeginDate() {
        return strBeginDate;
    }

    public void setStrBeginDate(String strBeginDate) {
        this.strBeginDate = strBeginDate;
    }

    public String getStrEndDate() {
        return strEndDate;
    }

    public void setStrEndDate(String strEndDate) {
        this.strEndDate = strEndDate;
    }

    public String getAmountMax() {
        return amountMax;
    }

    public void setAmountMax(String amountMax) {
        this.amountMax = amountMax;
    }

    public String getAmountMin() {
        return amountMin;
    }

    public void setAmountMin(String amountMin) {
        this.amountMin = amountMin;
    }

    public String getStartPage() {
        return startPage;
    }

    public void setStartPage(String startPage) {
        this.startPage = startPage;
    }

    public String getSubAccountID() {
        return subAccountID;
    }

    public void setSubAccountID(String subAccountID) {
        this.subAccountID = subAccountID;
    }

    public String getActionTypeID() {
        return actionTypeID;
    }

    public void setActionTypeID(String actionTypeID) {
        this.actionTypeID = actionTypeID;
    }

	public String getBeginCount() {
		return beginCount;
	}

	public void setBeginCount(String beginCount) {
		this.beginCount = beginCount;
	}

	public String getEndCount() {
		return endCount;
	}

	public void setEndCount(String endCount) {
		this.endCount = endCount;
	}

	public void resetExceptTransStatus() {
        super.reset(null, null);
        this.id = null;
        this.batchType = false;
        this.batchNo = null;
        this.transId = null;
        this.actionType = null;
        this.credit = null;
        this.debit = null;
        this.amount = null;
        this.currency = null;
        this.exchangeRate = null;
        this.tradeType = null;
        // this.transStatus = null; //交易状态不能重置
        this.beginDate = null;
        this.endDate = null;
        this.creditfeeRatio = null;
        this.debitfeeRatio = null;
        this.bankSeq = null;
        this.debitFee = null;
        this.creditFee = null;
        this.accountBankSeq = null;
        this.cardNo = null;
        this.bankName = null;
        this.provSeq = null;
        this.citySeq = null;
        this.bankProvSeq = null;
        this.bankCitySeq = null;
        this.personName = null;
        this.personMail = null;
        this.personPhone = null;
        this.personMobile = null;
        this.verifyCode = null;
        this.operSource = null;
        this.createUser = null;
        this.createTime = null;
        this.updateUser = null;
        this.updateTime = null;
        this.remark = null;
        this.verifyCode = null;
        this.errorMsg = null;
        this.creditId = null;
        this.debitId = null;
        this.creditMsg = null;
        this.attitude = null;
        this.strBeginDate = null;
        this.strEndDate = null;
        this.amountMin = null;
        this.amountMax = null;
        this.startPage = "1";
        this.subAccountID = null;
        this.actionTypeID = null;
        this.beginCount = null;
        this.endCount = null;
    }

}
